JBoss Community Archive (Read Only)

Scribble

Buyer Seller Protocol

This example shows how a Buyer role and
Seller role may interact in an ordering
process.

protocol BuyerSeller (role Buyer) {
    Buyer introduces Seller;

    Order from Buyer to Seller;

    choice at Seller {
        Invoice from Seller to Buyer;
    } or {
        Rejected from Seller to Buyer;
    }
}
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-13 09:37:58 UTC, last content change 2011-11-13 16:13:03 UTC.